package com.diligent.cloud.printer.client;

import com.grid.models.RubylongCoreJacobImp;
import com.grid.models.enums.ExportType;
import com.grid.models.enums.GridVersion;
import com.grid.models.interfaces.RubylongCore;

/**
 * @Description:
 * @Author: xf107397
 * @Date: Create：in 2020-06-26:23:54
 * @Modified By：
 */
public class Test {

    private static RubylongCore rlc ;
    //报表模版
    private String gridTemplate;
    //报表数据
    private String gridData;

    public static RubylongCore getRubylongCore(GridVersion gridVersion) {
        if(rlc==null) {
            rlc=new RubylongCoreJacobImp(gridVersion);
        }
        return rlc;
    }

    public void bootstrap() {
        rlc =  getRubylongCore(GridVersion.V6_5);
        //报表的模版,其实就是以文本方式打开grf
        gridTemplate="Object Report\n" +
                "\tVersion='6.3.0.1'\n" +
                "\tObject Font\n" +
                "\t\tName='宋体'\n" +
                "\t\tSize=105000,0\n" +
                "\t\tWeight=400\n" +
                "\t\tCharset=134\n" +
                "\tEnd\n" +
                "\tObject Printer\n" +
                "\t\tSize=11\n" +
                "\t\tWidth=14.8\n" +
                "\t\tHeight=21\n" +
                "\t\tLeftMargin=0.635\n" +
                "\t\tTopMargin=0.635\n" +
                "\t\tRightMargin=0.635\n" +
                "\t\tBottomMargin=0.635\n" +
                "\tEnd\n" +
                "\tObject DetailGrid\n" +
                "\t\tShowColLine=F\n" +
                "\t\tShowRowLine=F\n" +
                "\t\tNewPage=After\n" +
                "\t\tObject Recordset\n" +
                "\t\t\tConnectionString='Provider=SQLOLEDB.1;Password=admin20150501;Persist Security Info=True;User ID=xfdbusr;Initial Catalog=SSiMES;Data Source=192.168.2.160;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=SSCP1208;Use Encryption for Data=False;Tag with column collation when possible=False'\n" +
                "\t\t\tQuerySQL='select * from v_MFGs_CompleteInfo where doccode='23121''\n" +
                "\t\t\tItems Field\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='doccode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Docdate'\n" +
                "\t\t\t\t\tType=DateTime\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Doctype'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='formid'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='cwocCode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='cwocName'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='docitem'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Rowid'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Cardno'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='MatJpg'\n" +
                "\t\t\t\t\tType=Binary\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='customerName'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='NextwcName'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='inspcode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='inspName'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Result'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='txtmemo'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='cltdeldate'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='TMYN'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='ArmyType'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='LotCode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='LotDate'\n" +
                "\t\t\t\t\tType=DateTime\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='WOOrder'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='cprj'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Companyid'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='PdnoID'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='cprjname'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='cltcode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='orderdate'\n" +
                "\t\t\t\t\tType=DateTime\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='DelDate'\n" +
                "\t\t\t\t\tType=DateTime\n" +
                "\t\t\t\t\tFormat='yyyy-MM-dd'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Matcode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='MatName'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='BatchCode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='BatchName'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Cv1'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Cv1Name'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Cv2'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Cv2Name'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Cv3'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Cv3Name'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Cv4'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Cv4Name'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Cv5'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Cv5Name'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='CheckCode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='CheckName'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='WOActor'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='WOActOrName'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='ActLength'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='dcv4'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Digit'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='DefectDigit'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='unitwght'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='theorywght'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\t\tFormat='#,##0.00'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='ActTheorywght'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='ScrapYN'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='FillBoxDocCode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='EnterName'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='EnterDate'\n" +
                "\t\t\t\t\tType=DateTime\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='BoxCode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='StCode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='whCode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='BISyncYN'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Usrtxt1'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='UsrTxt2'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='UsrTxt3'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Usrtxt4'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='ReqDigit'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='ComplDigit'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='ProdDigit'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='scrapDigit'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='NextWC'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='HDMemo'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='EnterHrName'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='PackPattern'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='isFinish'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='ColorOrderCount'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Parentwoorder'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='BMDelDate'\n" +
                "\t\t\t\t\tType=DateTime\n" +
                "\t\t\t\t\tFormat='yyyy-MM-dd'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='BmtxtMemo'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='MatGroup'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='PBox'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='PPWi'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='wghtmethod'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='ppwg'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='LabelType'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Cwar'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='colorgroup'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='FocusMemo'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='worksname'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='MachCode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='crewname'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='BmTmyn'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='MachName'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='labelstands'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='aliasname'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='SJGWoorder'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='periodID'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='refCode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='SumDigit'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='ClearDocCode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='CardCount'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='CardCreateYN'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='blclosed'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='CrewCode'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='detailitem'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='inspValue'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='inspLevelFrom'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='insplevelTo'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='memo'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='TimeReworkYn'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='HTMemo'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Batch'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='CltByProj'\n" +
                "\t\t\t\t\tType=Integer\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='actallocwght'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='DelDigit'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='delwght'\n" +
                "\t\t\t\t\tType=Float\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='Plandigit'\n" +
                "\t\t\t\t\tType=Currency\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='cprjorcolor'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='girth'\n" +
                "\t\t\t\t\tType=Float\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tName='cityYn'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\tEnd\n" +
                "\t\tEnd\n" +
                "\t\tItems Column\n" +
                "\t\t\tItem\n" +
                "\t\t\t\tName='cprjname'\n" +
                "\t\t\t\tWidth=13.5202\n" +
                "\t\t\tEnd\n" +
                "\t\tEnd\n" +
                "\t\tObject ColumnContent\n" +
                "\t\t\tHeight=0\n" +
                "\t\t\tItems ColumnContentCell\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tColumn='cprjname'\n" +
                "\t\t\t\t\tFreeCell=T\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\tEnd\n" +
                "\t\tEnd\n" +
                "\t\tObject ColumnTitle\n" +
                "\t\t\tHeight=0\n" +
                "\t\t\tItems ColumnTitleCell\n" +
                "\t\t\t\tItem\n" +
                "\t\t\t\t\tGroupTitle=F\n" +
                "\t\t\t\t\tColumn='cprjname'\n" +
                "\t\t\t\t\tTextAlign=MiddleCenter\n" +
                "\t\t\t\t\tText='cprjname'\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\tEnd\n" +
                "\t\tEnd\n" +
                "\t\tItems Group\n" +
                "\t\t\tItem\n" +
                "\t\t\t\tName='Group1'\n" +
                "\t\t\t\tByFields='Cardno'\n" +
                "\t\t\t\tObject GroupHeader\n" +
                "\t\t\t\t\tHeight=17.2\n" +
                "\t\t\t\t\tPrintGridBorder=F\n" +
                "\t\t\t\t\tItems Control\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=PictureBox\n" +
                "\t\t\t\t\t\t\tName='PictureBox1'\n" +
                "\t\t\t\t\t\t\tLeft=0.396875\n" +
                "\t\t\t\t\t\t\tTop=6.19125\n" +
                "\t\t\t\t\t\t\tWidth=3.59833\n" +
                "\t\t\t\t\t\t\tHeight=4.02167\n" +
                "\t\t\t\t\t\t\tDataField='MatJpg'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox1'\n" +
                "\t\t\t\t\t\t\tLeft=5.3975\n" +
                "\t\t\t\t\t\t\tTop=0.0529167\n" +
                "\t\t\t\t\t\t\tWidth=2.80458\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tObject Font\n" +
                "\t\t\t\t\t\t\t\tName='宋体'\n" +
                "\t\t\t\t\t\t\t\tSize=105000,0\n" +
                "\t\t\t\t\t\t\t\tBold=T\n" +
                "\t\t\t\t\t\t\t\tCharset=134\n" +
                "\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tText='兴发流程工序卡'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='colorordercount'\n" +
                "\t\t\t\t\t\t\tLeft=0.396875\n" +
                "\t\t\t\t\t\t\tTop=0.0529167\n" +
                "\t\t\t\t\t\t\tWidth=2.19604\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tObject Font\n" +
                "\t\t\t\t\t\t\t\tName='宋体'\n" +
                "\t\t\t\t\t\t\t\tSize=105000,0\n" +
                "\t\t\t\t\t\t\t\tBold=T\n" +
                "\t\t\t\t\t\t\t\tCharset=134\n" +
                "\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tDataField='ColorOrderCount'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='colorgroup'\n" +
                "\t\t\t\t\t\t\tLeft=2.98979\n" +
                "\t\t\t\t\t\t\tTop=0.0529167\n" +
                "\t\t\t\t\t\t\tWidth=2.19604\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tObject Font\n" +
                "\t\t\t\t\t\t\t\tName='宋体'\n" +
                "\t\t\t\t\t\t\t\tSize=105000,0\n" +
                "\t\t\t\t\t\t\t\tBold=T\n" +
                "\t\t\t\t\t\t\t\tCharset=134\n" +
                "\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tDataField='colorgroup'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox4'\n" +
                "\t\t\t\t\t\t\tLeft=0.449792\n" +
                "\t\t\t\t\t\t\tTop=1.29646\n" +
                "\t\t\t\t\t\t\tWidth=1.00542\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='去往'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox5'\n" +
                "\t\t\t\t\t\t\tLeft=0.47625\n" +
                "\t\t\t\t\t\t\tTop=1.85208\n" +
                "\t\t\t\t\t\t\tWidth=0.978958\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='卡号'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox1'\n" +
                "\t\t\t\t\t\t\tLeft=1.40229\n" +
                "\t\t\t\t\t\t\tTop=1.27\n" +
                "\t\t\t\t\t\t\tWidth=5.3975\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='NextwcName'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox2'\n" +
                "\t\t\t\t\t\t\tLeft=1.69333\n" +
                "\t\t\t\t\t\t\tTop=1.85208\n" +
                "\t\t\t\t\t\t\tWidth=2.19604\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='Cardno'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox3'\n" +
                "\t\t\t\t\t\t\tLeft=4.02167\n" +
                "\t\t\t\t\t\t\tTop=1.79917\n" +
                "\t\t\t\t\t\t\tWidth=2.01083\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='FocusMemo'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=Barcode\n" +
                "\t\t\t\t\t\t\tName='Barcode1'\n" +
                "\t\t\t\t\t\t\tLeft=0.582083\n" +
                "\t\t\t\t\t\t\tTop=2.35479\n" +
                "\t\t\t\t\t\t\tWidth=5.23875\n" +
                "\t\t\t\t\t\t\tHeight=0.79375\n" +
                "\t\t\t\t\t\t\tBarcodeType=Code128Auto\n" +
                "\t\t\t\t\t\t\tCaptionPosition=None\n" +
                "\t\t\t\t\t\t\tText='[#Cardno#]'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox6'\n" +
                "\t\t\t\t\t\t\tLeft=6.79979\n" +
                "\t\t\t\t\t\t\tTop=1.19063\n" +
                "\t\t\t\t\t\t\tWidth=1.19063\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='扎号'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox4'\n" +
                "\t\t\t\t\t\t\tLeft=7.91104\n" +
                "\t\t\t\t\t\t\tTop=1.21708\n" +
                "\t\t\t\t\t\t\tWidth=3.67771\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='LotCode'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox7'\n" +
                "\t\t\t\t\t\t\tLeft=6.56167\n" +
                "\t\t\t\t\t\t\tTop=1.79917\n" +
                "\t\t\t\t\t\t\tWidth=1.24354\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='框号'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox5'\n" +
                "\t\t\t\t\t\t\tLeft=7.9375\n" +
                "\t\t\t\t\t\t\tTop=1.79917\n" +
                "\t\t\t\t\t\t\tWidth=2.48708\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='BoxCode'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox8'\n" +
                "\t\t\t\t\t\t\tLeft=6.16479\n" +
                "\t\t\t\t\t\t\tTop=2.77813\n" +
                "\t\t\t\t\t\t\tWidth=1.95792\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='实际重(KG)'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox6'\n" +
                "\t\t\t\t\t\t\tLeft=8.20208\n" +
                "\t\t\t\t\t\t\tTop=2.77813\n" +
                "\t\t\t\t\t\t\tWidth=3.06917\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='ActTheorywght'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox9'\n" +
                "\t\t\t\t\t\t\tLeft=6.16479\n" +
                "\t\t\t\t\t\t\tTop=2.24896\n" +
                "\t\t\t\t\t\t\tWidth=1.95792\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='理论重(KG)'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox7'\n" +
                "\t\t\t\t\t\t\tLeft=8.20208\n" +
                "\t\t\t\t\t\t\tTop=2.24896\n" +
                "\t\t\t\t\t\t\tWidth=3.20146\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='theorywght'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox10'\n" +
                "\t\t\t\t\t\t\tLeft=0.423333\n" +
                "\t\t\t\t\t\t\tTop=3.30729\n" +
                "\t\t\t\t\t\t\tWidth=1.37583\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='生产单'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox8'\n" +
                "\t\t\t\t\t\t\tLeft=1.5875\n" +
                "\t\t\t\t\t\t\tTop=3.30729\n" +
                "\t\t\t\t\t\t\tWidth=2.2225\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='WOOrder'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox11'\n" +
                "\t\t\t\t\t\t\tLeft=3.96875\n" +
                "\t\t\t\t\t\t\tTop=3.30729\n" +
                "\t\t\t\t\t\t\tWidth=1.00542\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='货期'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox9'\n" +
                "\t\t\t\t\t\t\tLeft=4.78896\n" +
                "\t\t\t\t\t\t\tTop=3.30729\n" +
                "\t\t\t\t\t\t\tWidth=2.40771\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='DelDate'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox12'\n" +
                "\t\t\t\t\t\t\tLeft=7.19667\n" +
                "\t\t\t\t\t\t\tTop=3.30729\n" +
                "\t\t\t\t\t\t\tWidth=1.00542\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='项目'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox10'\n" +
                "\t\t\t\t\t\t\tLeft=7.99042\n" +
                "\t\t\t\t\t\t\tTop=3.30729\n" +
                "\t\t\t\t\t\t\tWidth=2.80458\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='cprj'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox13'\n" +
                "\t\t\t\t\t\t\tLeft=0.396875\n" +
                "\t\t\t\t\t\t\tTop=3.86292\n" +
                "\t\t\t\t\t\t\tWidth=1.00542\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='型号'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox11'\n" +
                "\t\t\t\t\t\t\tLeft=1.19063\n" +
                "\t\t\t\t\t\t\tTop=3.86292\n" +
                "\t\t\t\t\t\t\tWidth=2.2225\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='Matcode'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox14'\n" +
                "\t\t\t\t\t\t\tLeft=3.59833\n" +
                "\t\t\t\t\t\t\tTop=3.86292\n" +
                "\t\t\t\t\t\t\tWidth=1.79917\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='膜厚级别'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox12'\n" +
                "\t\t\t\t\t\t\tLeft=5.3975\n" +
                "\t\t\t\t\t\t\tTop=3.86292\n" +
                "\t\t\t\t\t\t\tWidth=1.79917\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='aliasname'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox15'\n" +
                "\t\t\t\t\t\t\tLeft=10.8215\n" +
                "\t\t\t\t\t\t\tTop=3.33375\n" +
                "\t\t\t\t\t\t\tWidth=1.79917\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='工单长度'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox13'\n" +
                "\t\t\t\t\t\t\tLeft=12.4354\n" +
                "\t\t\t\t\t\t\tTop=3.33375\n" +
                "\t\t\t\t\t\t\tWidth=1.00542\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='Cv4'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox16'\n" +
                "\t\t\t\t\t\t\tLeft=0.370417\n" +
                "\t\t\t\t\t\t\tTop=4.41854\n" +
                "\t\t\t\t\t\t\tWidth=0.978958\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tObject Font\n" +
                "\t\t\t\t\t\t\t\tName='宋体'\n" +
                "\t\t\t\t\t\t\t\tSize=105000,0\n" +
                "\t\t\t\t\t\t\t\tBold=T\n" +
                "\t\t\t\t\t\t\t\tCharset=134\n" +
                "\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tText='合金'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox14'\n" +
                "\t\t\t\t\t\t\tLeft=1.40229\n" +
                "\t\t\t\t\t\t\tTop=4.41854\n" +
                "\t\t\t\t\t\t\tWidth=2.40771\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tObject Font\n" +
                "\t\t\t\t\t\t\t\tName='宋体'\n" +
                "\t\t\t\t\t\t\t\tSize=105000,0\n" +
                "\t\t\t\t\t\t\t\tBold=T\n" +
                "\t\t\t\t\t\t\t\tCharset=134\n" +
                "\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tDataField='Cv2Name'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox17'\n" +
                "\t\t\t\t\t\t\tLeft=10.2129\n" +
                "\t\t\t\t\t\t\tTop=3.81\n" +
                "\t\t\t\t\t\t\tWidth=1.5875\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='加工长度'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox15'\n" +
                "\t\t\t\t\t\t\tLeft=11.8004\n" +
                "\t\t\t\t\t\t\tTop=3.81\n" +
                "\t\t\t\t\t\t\tWidth=1.5875\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='dcv4'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox18'\n" +
                "\t\t\t\t\t\t\tLeft=0.396875\n" +
                "\t\t\t\t\t\t\tTop=4.97417\n" +
                "\t\t\t\t\t\t\tWidth=1.37583\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='订单数'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox16'\n" +
                "\t\t\t\t\t\t\tLeft=1.71979\n" +
                "\t\t\t\t\t\t\tTop=4.97417\n" +
                "\t\t\t\t\t\t\tWidth=1.16417\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='ReqDigit'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox19'\n" +
                "\t\t\t\t\t\t\tLeft=3.4925\n" +
                "\t\t\t\t\t\t\tTop=4.97417\n" +
                "\t\t\t\t\t\t\tWidth=1.19063\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='已完工'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox17'\n" +
                "\t\t\t\t\t\t\tLeft=4.68313\n" +
                "\t\t\t\t\t\t\tTop=4.97417\n" +
                "\t\t\t\t\t\t\tWidth=1.61396\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='ComplDigit'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox20'\n" +
                "\t\t\t\t\t\t\tLeft=6.69396\n" +
                "\t\t\t\t\t\t\tTop=4.97417\n" +
                "\t\t\t\t\t\t\tWidth=1.5875\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='本次生产'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox18'\n" +
                "\t\t\t\t\t\t\tLeft=8.30792\n" +
                "\t\t\t\t\t\t\tTop=4.97417\n" +
                "\t\t\t\t\t\t\tWidth=1.19063\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='ProdDigit'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox21'\n" +
                "\t\t\t\t\t\t\tLeft=7.46125\n" +
                "\t\t\t\t\t\t\tTop=6.00604\n" +
                "\t\t\t\t\t\t\tWidth=1.00542\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='仓库：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox19'\n" +
                "\t\t\t\t\t\t\tLeft=8.59896\n" +
                "\t\t\t\t\t\t\tTop=6.05896\n" +
                "\t\t\t\t\t\t\tWidth=2.19604\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='StCode'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox22'\n" +
                "\t\t\t\t\t\t\tLeft=0.370417\n" +
                "\t\t\t\t\t\t\tTop=5.58271\n" +
                "\t\t\t\t\t\t\tWidth=1.71979\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='表面订单'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox20'\n" +
                "\t\t\t\t\t\t\tLeft=2.09021\n" +
                "\t\t\t\t\t\t\tTop=5.58271\n" +
                "\t\t\t\t\t\t\tWidth=1.79917\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='Parentwoorder'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox23'\n" +
                "\t\t\t\t\t\t\tLeft=4.04813\n" +
                "\t\t\t\t\t\t\tTop=5.58271\n" +
                "\t\t\t\t\t\t\tWidth=1.64042\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='表面货期'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox21'\n" +
                "\t\t\t\t\t\t\tLeft=5.84729\n" +
                "\t\t\t\t\t\t\tTop=5.58271\n" +
                "\t\t\t\t\t\t\tWidth=2.19604\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='BMDelDate'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox24'\n" +
                "\t\t\t\t\t\t\tLeft=4.18042\n" +
                "\t\t\t\t\t\t\tTop=6.11188\n" +
                "\t\t\t\t\t\t\tWidth=2.40771\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='ERP订单备注:'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox22'\n" +
                "\t\t\t\t\t\t\tLeft=4.18042\n" +
                "\t\t\t\t\t\t\tTop=6.72042\n" +
                "\t\t\t\t\t\t\tWidth=8.20208\n" +
                "\t\t\t\t\t\t\tHeight=1.00542\n" +
                "\t\t\t\t\t\t\tTextAlign=TopLeft\n" +
                "\t\t\t\t\t\t\tDataField='txtmemo'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox25'\n" +
                "\t\t\t\t\t\t\tLeft=4.18042\n" +
                "\t\t\t\t\t\t\tTop=7.75229\n" +
                "\t\t\t\t\t\t\tWidth=2.83104\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='表面订单备注:'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox23'\n" +
                "\t\t\t\t\t\t\tLeft=4.23333\n" +
                "\t\t\t\t\t\t\tTop=8.38729\n" +
                "\t\t\t\t\t\t\tWidth=8.20208\n" +
                "\t\t\t\t\t\t\tHeight=1.00542\n" +
                "\t\t\t\t\t\t\tTextAlign=TopLeft\n" +
                "\t\t\t\t\t\t\tDataField='BmtxtMemo'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox26'\n" +
                "\t\t\t\t\t\t\tLeft=0.343958\n" +
                "\t\t\t\t\t\t\tTop=10.16\n" +
                "\t\t\t\t\t\t\tWidth=1.00542\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='说明：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox24'\n" +
                "\t\t\t\t\t\t\tLeft=1.61396\n" +
                "\t\t\t\t\t\t\tTop=10.16\n" +
                "\t\t\t\t\t\t\tWidth=6.79979\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='HDMemo'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox31'\n" +
                "\t\t\t\t\t\t\tLeft=0.238125\n" +
                "\t\t\t\t\t\t\tTop=10.795\n" +
                "\t\t\t\t\t\t\tWidth=1.69333\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='标签类型:'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox30'\n" +
                "\t\t\t\t\t\t\tLeft=1.85208\n" +
                "\t\t\t\t\t\t\tTop=10.795\n" +
                "\t\t\t\t\t\t\tWidth=2.06375\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='LabelType'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox31'\n" +
                "\t\t\t\t\t\t\tLeft=6.87917\n" +
                "\t\t\t\t\t\t\tTop=10.8215\n" +
                "\t\t\t\t\t\t\tWidth=5.3975\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='PackPattern'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox32'\n" +
                "\t\t\t\t\t\t\tLeft=4.31271\n" +
                "\t\t\t\t\t\t\tTop=10.795\n" +
                "\t\t\t\t\t\t\tWidth=2.43417\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='表面包装方法:'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox32'\n" +
                "\t\t\t\t\t\t\tLeft=4.20688\n" +
                "\t\t\t\t\t\t\tTop=9.60438\n" +
                "\t\t\t\t\t\t\tWidth=6.19125\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='customerName'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox33'\n" +
                "\t\t\t\t\t\t\tLeft=0.238125\n" +
                "\t\t\t\t\t\t\tTop=11.3771\n" +
                "\t\t\t\t\t\t\tWidth=1.77271\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='包装规范:'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox33'\n" +
                "\t\t\t\t\t\t\tLeft=2.01083\n" +
                "\t\t\t\t\t\t\tTop=11.4035\n" +
                "\t\t\t\t\t\t\tWidth=0.978958\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='PBox'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox34'\n" +
                "\t\t\t\t\t\t\tLeft=0.238125\n" +
                "\t\t\t\t\t\t\tTop=11.9327\n" +
                "\t\t\t\t\t\t\tWidth=1.00542\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='铸锭：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox34'\n" +
                "\t\t\t\t\t\t\tLeft=1.50813\n" +
                "\t\t\t\t\t\t\tTop=11.9327\n" +
                "\t\t\t\t\t\t\tWidth=2.2225\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='Usrtxt1'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox35'\n" +
                "\t\t\t\t\t\t\tLeft=6.19125\n" +
                "\t\t\t\t\t\t\tTop=11.9592\n" +
                "\t\t\t\t\t\t\tWidth=1.00542\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='模号：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox35'\n" +
                "\t\t\t\t\t\t\tLeft=7.19667\n" +
                "\t\t\t\t\t\t\tTop=11.9856\n" +
                "\t\t\t\t\t\t\tWidth=5.3975\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='UsrTxt2'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox36'\n" +
                "\t\t\t\t\t\t\tLeft=5.37104\n" +
                "\t\t\t\t\t\t\tTop=12.5677\n" +
                "\t\t\t\t\t\t\tWidth=2.2225\n" +
                "\t\t\t\t\t\t\tHeight=0.529167\n" +
                "\t\t\t\t\t\t\tObject Font\n" +
                "\t\t\t\t\t\t\t\tName='宋体'\n" +
                "\t\t\t\t\t\t\t\tSize=105000,0\n" +
                "\t\t\t\t\t\t\t\tBold=T\n" +
                "\t\t\t\t\t\t\t\tCharset=134\n" +
                "\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tText='其它：时效：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox36'\n" +
                "\t\t\t\t\t\t\tLeft=7.80521\n" +
                "\t\t\t\t\t\t\tTop=12.5677\n" +
                "\t\t\t\t\t\t\tWidth=2.40771\n" +
                "\t\t\t\t\t\t\tHeight=0.529167\n" +
                "\t\t\t\t\t\t\tGetDisplayTextScript='var sxYN=Report.FieldByName(\"TMYN\").AsString;\\r\\nvar BmTmYn=Report.FieldByName(\"BmTmYn\").AsString;\\r\\nvar Companyid=Report.FieldByName(\"Companyid\").AsString;\\r\\nvar cprj=Report.FieldByName(\"cprj\").AsString;\\r\\nvar cv1=Report.FieldByName(\"cv1\").AsString;\\r\\nvar CltByProj=Report.FieldByName(\"CltByProj\").AsInteger;\\r\\nvar SJGWoorder=Report.FieldByName(\"SJGWoorder\").AsString;\\r\\nvar MemoBox1 = Report.ControlByName(\"MemoBox1\");\\r\\nvar StaticBox54 = Report.ControlByName(\"StaticBox54\");\\r\\nvar StaticBox43 = Report.ControlByName(\"StaticBox43\");\\r\\nif(sxYN==\"否\")\\r\\n{\\r\\nMemoBox1.AsMemoBox.Text=\"(不时效)\";\\r\\nMemoBox1.Visible=true;\\r\\n}\\r\\nelse\\r\\n{\\r\\nMemoBox1.Visible=false;\\r\\n}\\r\\n\\r\\nif(BmTmYn==\"是\")\\r\\n{\\r\\nMemoBox1.AsMemoBox.Text=\"(先深加工后时效)\";\\r\\nMemoBox1.Visible=true;\\r\\n}\\r\\n\\r\\nif((Companyid==\"988\"&&cprj.substr(1,2)==\"20\"&&cv1.substr(1,2)==\"P\")||(Companyid==\"268\"&&cprj.substr(1,2)==\"21\"&&cv1.substr(1,2)==\"P\")||(CltByProj==1))\\r\\n{\\r\\nStaticBox54.Visible=true;\\r\\n}\\r\\nelse\\r\\n{\\r\\nStaticBox54.Visible=false;\\r\\n}\\r\\nif(SJGWoorder==\"\"||SJGWoorder==null)\\r\\n{\\r\\nStaticBox43.Visible=false;\\r\\n}\\r\\nelse\\r\\n{\\r\\nStaticBox43.Visible=true;\\r\\n}'\n" +
                "\t\t\t\t\t\t\tDataField='TMYN'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox37'\n" +
                "\t\t\t\t\t\t\tLeft=3.81\n" +
                "\t\t\t\t\t\t\tTop=11.9856\n" +
                "\t\t\t\t\t\t\tWidth=0.978958\n" +
                "\t\t\t\t\t\t\tHeight=0.529167\n" +
                "\t\t\t\t\t\t\tText='壁厚：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox39'\n" +
                "\t\t\t\t\t\t\tLeft=4.89479\n" +
                "\t\t\t\t\t\t\tTop=11.9856\n" +
                "\t\t\t\t\t\t\tWidth=1.19063\n" +
                "\t\t\t\t\t\t\tHeight=0.529167\n" +
                "\t\t\t\t\t\t\tDataField='UsrTxt3'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox38'\n" +
                "\t\t\t\t\t\t\tLeft=0.211667\n" +
                "\t\t\t\t\t\t\tTop=12.5677\n" +
                "\t\t\t\t\t\t\tWidth=0.9525\n" +
                "\t\t\t\t\t\t\tHeight=0.529167\n" +
                "\t\t\t\t\t\t\tText='批号：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox41'\n" +
                "\t\t\t\t\t\t\tLeft=1.19063\n" +
                "\t\t\t\t\t\t\tTop=12.5677\n" +
                "\t\t\t\t\t\t\tWidth=3.81\n" +
                "\t\t\t\t\t\t\tHeight=0.529167\n" +
                "\t\t\t\t\t\t\tDataField='BatchCode'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox39'\n" +
                "\t\t\t\t\t\t\tLeft=0.264583\n" +
                "\t\t\t\t\t\t\tTop=12.991\n" +
                "\t\t\t\t\t\t\tWidth=1.00542\n" +
                "\t\t\t\t\t\t\tHeight=0.635\n" +
                "\t\t\t\t\t\t\tText='机台：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox41'\n" +
                "\t\t\t\t\t\t\tLeft=4.65667\n" +
                "\t\t\t\t\t\t\tTop=11.43\n" +
                "\t\t\t\t\t\t\tWidth=1.00542\n" +
                "\t\t\t\t\t\t\tHeight=0.529167\n" +
                "\t\t\t\t\t\t\tText='纸重：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox44'\n" +
                "\t\t\t\t\t\t\tLeft=5.715\n" +
                "\t\t\t\t\t\t\tTop=11.43\n" +
                "\t\t\t\t\t\t\tWidth=1.37583\n" +
                "\t\t\t\t\t\t\tHeight=0.529167\n" +
                "\t\t\t\t\t\t\tDataField='ppwg'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox42'\n" +
                "\t\t\t\t\t\t\tLeft=7.27604\n" +
                "\t\t\t\t\t\t\tTop=11.4565\n" +
                "\t\t\t\t\t\t\tWidth=0.978958\n" +
                "\t\t\t\t\t\t\tHeight=0.529167\n" +
                "\t\t\t\t\t\t\tText='纸宽：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox45'\n" +
                "\t\t\t\t\t\t\tLeft=8.41375\n" +
                "\t\t\t\t\t\t\tTop=11.4565\n" +
                "\t\t\t\t\t\t\tWidth=1.85208\n" +
                "\t\t\t\t\t\t\tHeight=0.529167\n" +
                "\t\t\t\t\t\t\tDataField='PPWi'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox46'\n" +
                "\t\t\t\t\t\t\tLeft=2.35479\n" +
                "\t\t\t\t\t\t\tTop=13.5731\n" +
                "\t\t\t\t\t\t\tWidth=2.77813\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='SJGWoorder'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox43'\n" +
                "\t\t\t\t\t\t\tLeft=0.238125\n" +
                "\t\t\t\t\t\t\tTop=13.5731\n" +
                "\t\t\t\t\t\t\tWidth=2.16958\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='深加工工单：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox44'\n" +
                "\t\t\t\t\t\t\tLeft=0.211667\n" +
                "\t\t\t\t\t\t\tTop=14.2081\n" +
                "\t\t\t\t\t\t\tWidth=1.79917\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tObject Font\n" +
                "\t\t\t\t\t\t\t\tName='宋体'\n" +
                "\t\t\t\t\t\t\t\tSize=105000,0\n" +
                "\t\t\t\t\t\t\t\tBold=T\n" +
                "\t\t\t\t\t\t\t\tCharset=134\n" +
                "\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tText='产品判定'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox50'\n" +
                "\t\t\t\t\t\t\tAlignColumnSide=Right\n" +
                "\t\t\t\t\t\t\tLeft=12.065\n" +
                "\t\t\t\t\t\t\tWidth=1.05833\n" +
                "\t\t\t\t\t\t\tHeight=1.00542\n" +
                "\t\t\t\t\t\t\tObject Font\n" +
                "\t\t\t\t\t\t\t\tName='宋体'\n" +
                "\t\t\t\t\t\t\t\tSize=105000,0\n" +
                "\t\t\t\t\t\t\t\tBold=T\n" +
                "\t\t\t\t\t\t\t\tCharset=134\n" +
                "\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tDataField='cityYn'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox51'\n" +
                "\t\t\t\t\t\t\tLeft=4.84188\n" +
                "\t\t\t\t\t\t\tTop=13.0175\n" +
                "\t\t\t\t\t\t\tWidth=7.19667\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='MachName'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox54'\n" +
                "\t\t\t\t\t\t\tLeft=0.423333\n" +
                "\t\t\t\t\t\t\tTop=0.608542\n" +
                "\t\t\t\t\t\t\tWidth=2.19604\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tObject Font\n" +
                "\t\t\t\t\t\t\t\tName='宋体'\n" +
                "\t\t\t\t\t\t\t\tSize=105000,0\n" +
                "\t\t\t\t\t\t\t\tBold=T\n" +
                "\t\t\t\t\t\t\t\tCharset=134\n" +
                "\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tText='按项目分料'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox55'\n" +
                "\t\t\t\t\t\t\tLeft=7.40833\n" +
                "\t\t\t\t\t\t\tTop=3.81\n" +
                "\t\t\t\t\t\t\tWidth=0.978958\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='公差'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox52'\n" +
                "\t\t\t\t\t\t\tLeft=8.38729\n" +
                "\t\t\t\t\t\t\tTop=3.81\n" +
                "\t\t\t\t\t\t\tWidth=1.82563\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='Cv5'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox56'\n" +
                "\t\t\t\t\t\t\tLeft=3.54542\n" +
                "\t\t\t\t\t\t\tTop=4.41854\n" +
                "\t\t\t\t\t\t\tWidth=1.82563\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='颜色代码'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox53'\n" +
                "\t\t\t\t\t\t\tLeft=5.3975\n" +
                "\t\t\t\t\t\t\tTop=4.41854\n" +
                "\t\t\t\t\t\t\tWidth=2.01083\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='Cv1'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox54'\n" +
                "\t\t\t\t\t\t\tLeft=7.46125\n" +
                "\t\t\t\t\t\t\tTop=4.41854\n" +
                "\t\t\t\t\t\t\tWidth=5.29167\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='Cv1Name'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox55'\n" +
                "\t\t\t\t\t\t\tLeft=1.45521\n" +
                "\t\t\t\t\t\t\tTop=13.044\n" +
                "\t\t\t\t\t\t\tWidth=1.77271\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='MachCode'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox57'\n" +
                "\t\t\t\t\t\t\tLeft=5.31813\n" +
                "\t\t\t\t\t\t\tTop=13.5996\n" +
                "\t\t\t\t\t\t\tWidth=1.98438\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='执行标准：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox56'\n" +
                "\t\t\t\t\t\t\tLeft=7.40833\n" +
                "\t\t\t\t\t\t\tTop=13.5731\n" +
                "\t\t\t\t\t\t\tWidth=3.78354\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='labelstands'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox58'\n" +
                "\t\t\t\t\t\t\tLeft=3.06917\n" +
                "\t\t\t\t\t\t\tTop=0.635\n" +
                "\t\t\t\t\t\t\tWidth=1.00542\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='单号'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox58'\n" +
                "\t\t\t\t\t\t\tLeft=4.25979\n" +
                "\t\t\t\t\t\t\tTop=0.608542\n" +
                "\t\t\t\t\t\t\tWidth=2.56646\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='doccode'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox61'\n" +
                "\t\t\t\t\t\t\tLeft=10.3981\n" +
                "\t\t\t\t\t\t\tTop=11.4035\n" +
                "\t\t\t\t\t\t\tWidth=1.00542\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='周长：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox59'\n" +
                "\t\t\t\t\t\t\tLeft=11.4035\n" +
                "\t\t\t\t\t\t\tTop=11.4035\n" +
                "\t\t\t\t\t\t\tWidth=1.98438\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='girth'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox60'\n" +
                "\t\t\t\t\t\t\tLeft=3.22792\n" +
                "\t\t\t\t\t\t\tTop=13.0175\n" +
                "\t\t\t\t\t\t\tWidth=1.79917\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='crewname'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FreeGrid\n" +
                "\t\t\t\t\t\t\tName='FreeGrid1'\n" +
                "\t\t\t\t\t\t\tLeft=0.396875\n" +
                "\t\t\t\t\t\t\tTop=14.8167\n" +
                "\t\t\t\t\t\t\tObject Border\n" +
                "\t\t\t\t\t\t\t\tStyles=[DrawLeft|DrawTop|DrawRight|DrawBottom]\n" +
                "\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tColumnCount=4\n" +
                "\t\t\t\t\t\t\tRowCount=4\n" +
                "\t\t\t\t\t\t\tItems FreeGridColumn\n" +
                "\t\t\t\t\t\t\t\tItem[1]\n" +
                "\t\t\t\t\t\t\t\t\tWidth=2.54\n" +
                "\t\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\t\tItem[2]\n" +
                "\t\t\t\t\t\t\t\t\tWidth=4.18042\n" +
                "\t\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\t\tItem[3]\n" +
                "\t\t\t\t\t\t\t\t\tWidth=2.69875\n" +
                "\t\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tItems FreeGridRow\n" +
                "\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tItems FreeGridCell\n" +
                "\t\t\t\t\t\t\t\tItem[1,2]\n" +
                "\t\t\t\t\t\t\t\t\tObject Font\n" +
                "\t\t\t\t\t\t\t\t\t\tName='宋体'\n" +
                "\t\t\t\t\t\t\t\t\t\tSize=105000,0\n" +
                "\t\t\t\t\t\t\t\t\t\tBold=T\n" +
                "\t\t\t\t\t\t\t\t\t\tCharset=134\n" +
                "\t\t\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\t\t\tTextAlign=MiddleCenter\n" +
                "\t\t\t\t\t\t\t\t\tText='判定结果'\n" +
                "\t\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\t\tItem[1,3]\n" +
                "\t\t\t\t\t\t\t\t\tObject Font\n" +
                "\t\t\t\t\t\t\t\t\t\tName='宋体'\n" +
                "\t\t\t\t\t\t\t\t\t\tSize=105000,0\n" +
                "\t\t\t\t\t\t\t\t\t\tBold=T\n" +
                "\t\t\t\t\t\t\t\t\t\tCharset=134\n" +
                "\t\t\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\t\t\tTextAlign=MiddleCenter\n" +
                "\t\t\t\t\t\t\t\t\tText='日期'\n" +
                "\t\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\t\tItem[1,4]\n" +
                "\t\t\t\t\t\t\t\t\tObject Font\n" +
                "\t\t\t\t\t\t\t\t\t\tName='宋体'\n" +
                "\t\t\t\t\t\t\t\t\t\tSize=105000,0\n" +
                "\t\t\t\t\t\t\t\t\t\tBold=T\n" +
                "\t\t\t\t\t\t\t\t\t\tCharset=134\n" +
                "\t\t\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\t\t\tTextAlign=MiddleCenter\n" +
                "\t\t\t\t\t\t\t\t\tText='签名'\n" +
                "\t\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\t\tItem[2,1]\n" +
                "\t\t\t\t\t\t\t\t\tTextAlign=MiddleCenter\n" +
                "\t\t\t\t\t\t\t\t\tText='机台班长'\n" +
                "\t\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\t\tItem[3,1]\n" +
                "\t\t\t\t\t\t\t\t\tTextAlign=MiddleCenter\n" +
                "\t\t\t\t\t\t\t\t\tText='机台质检'\n" +
                "\t\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\t\tItem[4,1]\n" +
                "\t\t\t\t\t\t\t\t\tTextAlign=MiddleCenter\n" +
                "\t\t\t\t\t\t\t\t\tText='总检以上人员'\n" +
                "\t\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox62'\n" +
                "\t\t\t\t\t\t\tLeft=2.98979\n" +
                "\t\t\t\t\t\t\tTop=11.4035\n" +
                "\t\t\t\t\t\t\tWidth=1.61396\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='支/扎'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=MemoBox\n" +
                "\t\t\t\t\t\t\tName='MemoBox1'\n" +
                "\t\t\t\t\t\t\tLeft=8.20208\n" +
                "\t\t\t\t\t\t\tWidth=3.81\n" +
                "\t\t\t\t\t\t\tHeight=0.79375\n" +
                "\t\t\t\t\t\t\tObject Font\n" +
                "\t\t\t\t\t\t\t\tName='宋体'\n" +
                "\t\t\t\t\t\t\t\tSize=142500,0\n" +
                "\t\t\t\t\t\t\t\tBold=T\n" +
                "\t\t\t\t\t\t\t\tCharset=134\n" +
                "\t\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\t\tText='(不时效)'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=Barcode\n" +
                "\t\t\t\t\t\t\tName='Barcode2'\n" +
                "\t\t\t\t\t\t\tLeft=11.1919\n" +
                "\t\t\t\t\t\t\tTop=1.19063\n" +
                "\t\t\t\t\t\t\tWidth=2.19604\n" +
                "\t\t\t\t\t\t\tHeight=1.79917\n" +
                "\t\t\t\t\t\t\tBarcodeType=QRCode\n" +
                "\t\t\t\t\t\t\tCaptionPosition=None\n" +
                "\t\t\t\t\t\t\tText='[#BoxCode#]'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\tEnd\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\t\tObject GroupFooter\n" +
                "\t\t\t\t\tHeight=1.8\n" +
                "\t\t\t\t\tPrintGridBorder=F\n" +
                "\t\t\t\t\tRepeatOnPage=T\n" +
                "\t\t\t\t\tItems Control\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox45'\n" +
                "\t\t\t\t\t\t\tLeft=0.264583\n" +
                "\t\t\t\t\t\t\tWidth=1.79917\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='报数日期：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox46'\n" +
                "\t\t\t\t\t\t\tLeft=3.83646\n" +
                "\t\t\t\t\t\t\tTop=0.608542\n" +
                "\t\t\t\t\t\t\tWidth=1.79917\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='时效批次：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox47'\n" +
                "\t\t\t\t\t\t\tLeft=0.238125\n" +
                "\t\t\t\t\t\t\tTop=0.608542\n" +
                "\t\t\t\t\t\t\tWidth=1.19063\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tText='挤压：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox52'\n" +
                "\t\t\t\t\t\t\tLeft=5.82083\n" +
                "\t\t\t\t\t\t\tTop=1.19063\n" +
                "\t\t\t\t\t\t\tWidth=1.79917\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='打印时间：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox49'\n" +
                "\t\t\t\t\t\t\tLeft=2.03729\n" +
                "\t\t\t\t\t\t\tTop=1.19063\n" +
                "\t\t\t\t\t\t\tWidth=2.38125\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='wghtmethod'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=StaticBox\n" +
                "\t\t\t\t\t\t\tName='StaticBox53'\n" +
                "\t\t\t\t\t\t\tLeft=0.238125\n" +
                "\t\t\t\t\t\t\tTop=1.19063\n" +
                "\t\t\t\t\t\t\tWidth=1.77271\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tText='结算方式：'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=SystemVarBox\n" +
                "\t\t\t\t\t\t\tName='SystemVarBox1'\n" +
                "\t\t\t\t\t\t\tLeft=7.62\n" +
                "\t\t\t\t\t\t\tTop=1.19063\n" +
                "\t\t\t\t\t\t\tWidth=4.81542\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tSystemVar=CurrentDateTime\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox57'\n" +
                "\t\t\t\t\t\t\tLeft=2.06375\n" +
                "\t\t\t\t\t\t\tWidth=4.60375\n" +
                "\t\t\t\t\t\t\tHeight=0.608542\n" +
                "\t\t\t\t\t\t\tDataField='EnterDate'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\t\tItem\n" +
                "\t\t\t\t\t\t\tType=FieldBox\n" +
                "\t\t\t\t\t\t\tName='FieldBox61'\n" +
                "\t\t\t\t\t\t\tLeft=1.40229\n" +
                "\t\t\t\t\t\t\tTop=0.608542\n" +
                "\t\t\t\t\t\t\tWidth=2.19604\n" +
                "\t\t\t\t\t\t\tHeight=0.582083\n" +
                "\t\t\t\t\t\t\tDataField='EnterHrName'\n" +
                "\t\t\t\t\t\tEnd\n" +
                "\t\t\t\t\tEnd\n" +
                "\t\t\t\t\tPrintAtBottom=T\n" +
                "\t\t\t\tEnd\n" +
                "\t\t\tEnd\n" +
                "\t\tEnd\n" +
                "\tEnd\n" +
                "End\n";
    }

    public static void main(String[] args) {
        Test test = new Test();
        test.bootstrap();
//        rlc.fnLoadFromFile("");
        rlc.fnLoadFromStr(test.gridTemplate);
//        rlc.fn
        rlc.fnLoadDataFromXML("{\n" +
                "\"Table\":[\n" +
                "{\"ColorOrderCount\":\"2\",\"colorgroup\":\"GREAL\",\"cityYn\":\"仪和贸易\",\"ProductID\":1,\"Barcode1\":\"苹果汁\",\"theorywght\":8,\"Amount\":144},\n" +
                "]}");
//        rlc.fnExportDirect(ExportType.gretPDF, "1234", false, false);
        rlc.fnExportDirect(ExportType.gretRTF, "12321455", false, false);
    }
}
